Dynamic Huffman Coding
نویسنده
چکیده
Given nonnegative weights (wr, . . . , w,,), the well-known algorithm of Huffman [2] can be used to construct a binary tree with n external nodes and n 1 internal nodes, where the external nodes are labeled with the weights (wr, . . . , w,) in some order. Huffman’s tree has the minimum value of WJ, + * * . + w,,l, over all such binary trees, where lj is the level at which wj occurs in the tree. Binary trees with n external nodes are in one-to-one correspondence with sets of n strings on (0, 1) that form a “minimal prefix code.” A prefix code is a set of strings in which no string is a proper prefix of another; and a minimal prefix code is a prefix code such that, if (Y is a proper prefix of some string in the set, then (~0 is either in the set or a proper prefix of some string in the set, and so is ~yl. The correspondence between trees and codes is simply to represent the path from the root to each external node as a string of O’s and l’s, where 0 corresponds to a left branch and 1 to a right branch. An external node at level I corresponds in this way to a string of
منابع مشابه
Self-Organized Dynamic Huffman Coding without Frequency Counts
without Frequency Counts Yoshiyuki Okada, Noriko Satoh, Kimitaka Murashita, and Shigeru Yoshida Holography and Color Imaging Lab., Fujitsu Laboratories Ltd. Email: (yokada,nsatoh,kimi,per241)@flab.fujitsu.co.jp
متن کاملStatic Power Optimization for Reconfiguration of Hand
It has been widely seen that multimedia application has increased in hand held devices such as mobile devices, cellular phones, PDA’s , mobile audio / video player etc. These embedded devices and applications need a huge amount of power to function so improvement in power in these devices has turned out an important issue. This paper presents a novel approach for reducing the bit-width of the d...
متن کاملAlphabet Partitioning Techniques for Semi-Adaptive Huffman Coding of Large Alphabets Alphabet Partitioning Techniques for Semi-Adaptive Huffman Coding of Large Alphabets∗
Practical applications that employ entropy coding for large alphabets often partition the alphabet set into two or more layers and encode each symbol by using some suitable prefix coding for each layer. In this paper, we formulate the problem of finding an alphabet partitioning for the design of a two-layer semi-adaptive code as an optimization problem, and give a solution based on dynamic prog...
متن کاملA generic top-down dynamic-programming approach to prefix-free coding
Given a probability distribution over a set of n words to be transmitted, the Huffman Coding problem is to find a minimal-cost prefix free code for transmitting those words. The basic Huffman coding problem can be solved in O(n log n) time but variations are more difficult. One of the standard techniques for solving these variations utilizes a top-down dynamic programming approach. In this pape...
متن کاملCompression of 3D Video Using Huffman Coding
With the recent development of 3D display technologies, there is an increasing demand for realistic 3D video. However, efficient transmission and storage of depth data still presents a challenging task to the research community in these applications. Consequently a new method, called 3D Image Warping Based Depth Video Compression (IWDVC) is proposed for fast and efficient compression of 3D vide...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Algorithms
دوره 6 شماره
صفحات -
تاریخ انتشار 1985